package com.cade.agriculturemall.view.personalCenter.editAddress;

import com.cade.agriculturemall.base.IBasePresenter;
import com.cade.agriculturemall.base.IBaseView;
import com.cade.agriculturemall.model.AddressEntity;

/**
 * Created by Lobby on 2017/12/20.
 */

public interface EditAddressContract {
    interface IView extends IBaseView {
        void showAddressDialog();//初始化地址数据后，显示地址选择框

        void loadAddressData();//获取地址数据
        void upLoadSuccess();
        void upLoadAddressData(AddressEntity entity);

    }

    interface IPresenter extends IBasePresenter {
        void upLoadAddress( String addressId,AddressEntity entity);
        //        修改
        void deleteAddress(String addressId);
        void downAddress(String addressId);
    }
}
